package com.apposcopy.ella.runtime;

import android.content.Context;
import android.util.Log;

public class ApplicationContextRecorder extends Recorder {
	private static final String TAG = ApplicationContextRecorder.class.getSimpleName();
	@Override
	public void getContext(Context context) {
		if(Ella.applicationContext == null){
			Ella.applicationContext = context.getApplicationContext();
			Ella.registerReceiver(Ella.applicationContext);
			Log.d(TAG, "set application context");
		}else{
			Log.d(TAG, "exist application context");
		}
	}
	
}
